#ifndef GL_HEADERS_H
#define GL_HEADERS_H

#ifdef USE_GLES
#include <glad/gles2.h>

/* These are GL definitions, used to indicate that we need some convertions in GLES path */
#define GL_BGR 0x80E0
#define GL_R16 0x822A

/* These are GL extensions, mark as not supported */
#define GLAD_GL_ARB_fragment_layer_viewport 0
#define GLAD_GL_ARB_shader_atomic_counters 0
#define GLAD_GL_ARB_shader_storage_buffer_object 0
#define GLAD_GL_ARB_shading_language_420pack 0
#define GLAD_GL_ARB_texture_storage 0
#define GLAD_GL_ARB_shader_image_load_store 0

#else
#include <glad/gl.h>
#endif

#endif